package com.baomidou.springwind.service;

import com.baomidou.framework.service.ISuperService;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.springwind.entity.Department;

import java.util.List;

/**
 * Created by yhx on 2016/12/13.
 */
public interface IDepartmentService extends ISuperService<Department> {
    List<Department> selectDepartmentById(String id);

    Page<Department> selectAllDepartment(Page<Department> page);

    boolean upDateDepartmentById(Department department);

    int delectDepartmentById(String id);
}
